<div class="page-titl">
	<div class="wrapper">
		<h1>TRẮC NGHIỆM</h1>
	</div>
</div>

<div class="content">
	<div class="wrapper">
	<form action="" class="form-horizontal" ng-submit="addQuestion()" role="form">
		<div class="panel panel-default">

			<div class="panel-heading">
				THÊM CÂU HỎI
			</div>

			<div class="panel-body">
				<label for="">Chọn danh mục: </label> &nbsp; 
				<!-- <input type="checkbox" value="1" ng-model="isVn"> LS Việt Nam -->
				<select class="category form-control" ng-model="category">
					<option ng-repeat="cat in categories" value="{{cat._id}}">{{cat.name}}</option>
				</select> <br />				
				<!-- ================================ -->
				<div class="input-group">
					<input class="form-control" type="text" ng-model="question" required> <br>
					<div class="input-group-addon">Câu hỏi</div>
				</div>
				<hr>
				<div class="input-group">
					<div class="input-group-addon">A</div>
					<input class="form-control" type="text" ng-model="answerA" required>
				</div><br>
				<div class="input-group">
					<div class="input-group-addon">B</div>
					<input class="form-control" type="text" ng-model="answerB" required>
				</div><br>
				<div class="input-group">
					<div class="input-group-addon">C</div>
					<input class="form-control" type="text" ng-model="answerC" required>
				</div><br>
				<div class="input-group">
					<div class="input-group-addon">D</div>
					<input class="form-control" type="text" ng-model="answerD" required>
				</div>
				 
				<hr>
				<label for="">Đáp án đúng:</label> &nbsp; &nbsp;
				A <input type="radio" ng-model="result" value="optA"> &nbsp; | &nbsp;
				B <input type="radio" ng-model="result" value="optB"> &nbsp; | &nbsp;
				C <input type="radio" ng-model="result" value="optC"> &nbsp; | &nbsp;
				D <input type="radio" ng-model="result" value="optD"> &nbsp; | &nbsp;

				
			</div>

			<div class="panel-footer">
				<input type="submit" class="btn btn-primary" value="THÊM">
			</div>
		</div>
	</form>
	</div>
</div>